home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Tele / Internet / NotifyMail 2.30.sit / NotifyMail ƒ / Configure NotifyMail.rsrc / TEXT_200.txt < prev    next >
Encoding:
Text File  |  1994-05-05  |  14.8 KB  |  229 lines

  1.  
  2.  
  3.     
  4.  
  5.  
  6.  
  7.  
  8.                         NotifyMail 2.3.0
  9.                        ¬©1994 by Scott Gruby
  10.                       (Scott_Gruby@hmc.edu)
  11.  
  12.  
  13.  
  14.  
  15.  
  16. Introduction    
  17. NotifyMail is a system extension that will almost immediately notify you when new electronic mail arrives.
  18.  
  19. System Requirements    
  20. System 7.0.0 or higher
  21. MacTCP 1.1 or higher
  22. Eudora 1.4 or higher (optional)
  23. POP account on a UNIX or VMS machine
  24.           or
  25. POP account on a Macintosh running MailShare
  26.  
  27. Installation    
  28. Put the NotifyMail extension in your Extensions folder and place an alias to Eudora or your Eudora settings file in the Startup Items folder. Run the Configure NotifyMail program and setup your preferences. (See Customization later in this documentation.) Restart your machine.
  29.  
  30. If you are using a VMS machine as a POP server, skip to VMS installation.
  31.  
  32. If you are using a UNIX machine as a POP server, follow UNIX installation and then skip VMS installation.
  33.  
  34. UNIX Installation    
  35. Create a file called .forward on your UNIX machine in your home directory. The contents of the file are as follows:
  36.  
  37. \username,
  38. "| finger nm_notifyuser@machinename"
  39.  
  40. Where you will replace username with your login name on your UNIX machine, for example, mine is sgruby and you will replace machinename with the name associated with your Mac's IP address (DNS name) or you can simply put in your IP address in place of machinename.
  41.  
  42. Alternate UNIX Installation    
  43. If the above method doesn't work, your UNIX system may be running a more secure sendmail program. If this is the case, you can try this alternate method:
  44.  
  45. Your .forward file should be:
  46.  
  47. \sgruby,
  48. "| /home/osiris/hmc_1995/sgruby/phftp"
  49.  
  50. (Replace sgruby with your username and /home/osiris/hmc_1995/sgruby with the full path of your directory.)
  51.  
  52. Then create a file called phftp that has the following in it:
  53.  
  54. finger nm_notifyuser@gorilla.st.hmc.edu
  55.  
  56. (Replace gorilla.st.hmc.edu with your machine name or IP address.)
  57.  
  58. Next, type:
  59. chmod 755 phftp
  60.  
  61. If this still doesn't work, contact the author at the email address that is later in this document, and I will do my best to assist you. It may happen that you will have to talk to your system administrator about getting this to work.
  62.  
  63. VMS Installation    
  64. PMDF Deliver must be running on your VMS machine for this to work. If the following installation doesn‚Äôt work, verify that PMDF deliver is installed.
  65.  
  66. First off, create a file called mail.delivery in your home directory. The contents should be as follows:
  67.  
  68. *  *  *  A  E "finger nm_notifyuser@gorilla.st.hmc.edu"
  69. *  *  *  A  D
  70.  
  71. replace gorilla.st.hmc.edu with the name (DNS name) or IP address of the Mac you want to use this on.
  72.  
  73. Then go into mail and type:
  74.  
  75. set forward "in%""~sgruby"""
  76.  
  77. Replacing sgruby with your username.
  78. (This tells PMDF deliver to use the mail.delivery file that you created.)
  79.  
  80. Dynamic IP addressing    
  81. If your IP address changes on each connection such as dialup lines, follow these instructions:
  82. Instead of creating the .forward, phftp, or mail.delivery file as described above on your UNIX or VMS machine, create the appropriately named file on your Macintosh. Replace the keyword nm_notifyuser with nm_username where you enter your username here. Also, don‚Äôt enter a machinename, instead enter a %. This will allow NotifyMail to insert your IP address each time you connect your machine to the network. For example, I would use:
  83.  
  84. \sgruby,
  85. "| finger nm_sgruby@%"
  86.  
  87. After creating the file, run Configure NotifyMail and choose Startup Options. Click on dynamic IP addressing, enter your host name (IP address or name), your username, and password. Also select the file you just created by clicking on select file. NotifyMail will FTP the file to your host each time it starts providing the correct IP address. Note: the password is not secure and a hacker could look into the preferences file and find out your password.
  88.  
  89.  
  90. More Installation Info    
  91. In the Eudora configuration, set the Check Mailing every X minutes to either 0 to have it never check mail, or a number such as 999,999 (the maximum is about 2^29 [536,870,912] minutes, so that it checks mail at startup.
  92.  
  93. If your Macintosh is not on, the finger command will timeout and your mail will simply stay in your mailbox on your VMS or UNIX machine.
  94.  
  95. Note for SLIP and PPP users    
  96. If your connection does not load at startup (i.e. before the Finder starts), then you will have to use ResEdit to change the file type of NotifyMail from ‚Äòappe‚Äô to ‚ÄòAPPL‚Äô. After your connection has started, you will then have to launch NotifyMail by double clicking its icon.
  97.  
  98. Possible Problems    
  99. Problem:  Someone sends me mail, but I am not notified.
  100. Solution:
  101.  
  102. a) On some UNIX machines, you have to give read and execute privileges to all users in order to access the .forward file. Contact your system administrator for help with this.
  103.  
  104. b) MacTCP was not properly initialized at startup. This may be due to an extension conflict or network problems. I would suggest restarting and that shoul'¬∫e problem. Make sure that you can use Eudora to manually check mail. If you can, restart your machine and see what happens. NotifyMail will inform you if MacTCP is not properly initialized.
  105.  
  106. Problem: I am notified of new mail, but when Eudora checks for mail, nothing is there. If I check again a little later, my mail is there.
  107. Soltuion: Your UNIX machine may be a little slow in filing your mail. You can add a ‚Äúsleep‚Äù command in your .forward file as follows:
  108.  
  109. \username,
  110. "| sleep 10",
  111. "| finger nm_notifyuser@machinename"
  112.  
  113. The sleep command tells your UNIX machine not to execute the following command for 10 seconds.
  114.  
  115. Problem: It just doesn‚Äôt seem to work.
  116. Solution:
  117. 1. Verify that you followed these instructions completely.
  118. 2. Contact me (Scott_Gruby@hmc.edu), and I will try to verify your setup.
  119. Note: I will help anyone with setting this up whether they are registered users or not.
  120. Please don‚Äôt send in your shareware fee until this is functional.
  121. 3. Contact your system administrator for assistance because your mail server may be set up differently.
  122.  
  123. Problem: If I receive an even number of messages, Eudora‚Äôs doesn‚Äôt flash the mail icon. If I receive an odd number of messages, it works fine. What‚Äôs up?
  124. Solution: This is a known bug in Eudora and NOT in NotifyMail. Versions of Eudora higher than 1.4.1 and 2.0.1 have this fixed.
  125.  
  126. Problem: My site prohibits the use of finger servers on Macs or I want to use a different finger server.
  127. Solution: You can specify which port you want NotifyMail to listen to by using ResEdit and modifying STR# resource 129, String 1. Simply put in the port number you would like to use. The finger port is 79 and I recommend port 1035 if you don‚Äôt use the finger port. Some other ports may be reserved for POP servers, SMTP servers, etc. Be careful when modifying this. If you choose this option, your .forward file should be as follows:
  128.  
  129. \username,
  130. "| echo quit | ftp machinename 1035"
  131.  
  132.  
  133. Customization    
  134. NotifyMail is technically an extension, but it is simply a background only application. If you don't want NotifyMail to start up all the time, or you want to start NotifyMail after your machine is started, you can use ResEdit to change the type of NotifyMail from 'appe' to 'APPL'. The program works in exactly the same way.
  135.  
  136. Run the NotifyMail Configure Application and this will allow you to change several options about how NotifyMail works. Simply select Preferences from the file menu. These changes will take effect immediately after you choose Save.
  137.  
  138. Full balloon help is available for Configure NotifyMail.
  139.  
  140. For complete information on the options, consult the full documentation for NotifyMail.
  141.  
  142. Bonus Features    
  143. You can have people ‚Äúfinger‚Äù your Mac and receive information. In order to set this up, create a folder called Plans and place it in your Preferences Folder (in the System Folder). Then simply use TeachText or another text editor and place ‚Äúplans‚Äù in that folder. Feel free to name them whatever you would like provided that there are no spaces or other illegal characters. Then someone can ‚Äúfinger plan_name@machinename‚Äù. You are not limited to the number of different plans you can have, but each plan must be less than 5K in size (only the first 5K of any plan will be displayed). You can also use aliases here to alias files that are in other locations on your hard drive. You can also create a user, for example sgruby, and then create an alias to that file and rename the alias as Scott. Someone could finger sgruby or finger Scott and receive the same response. You will also want to create a file called plan which will be displayed if someone fingers your machine without a username or if the specified username doesn‚Äôt exist.
  144.  
  145. You can use variables in your plan and NotifyMail will fill in the appropriate values. The following variables are available:
  146.  
  147. %timesecs%                      current time with seconds
  148. %time%                             current time w/o seconds
  149. %date-short%                   short form of date
  150. %date-long%                     long form of date
  151. %date-abbrev%                 abbreviated form of date
  152. %startup-time%               time computer was last restarted
  153. %startup-timesecs%        time computer was last restarted w/ secs
  154. %startup-short%              date computer was last restarted
  155. %startup-long%                date computer was last restarted
  156. %startup-abbrev%             date computer was last restarted
  157. %idle-timesecs%              time computer has been idle w/ secs
  158. %idle-time%                     time computer has been idle
  159. %time-frmstartup%         how long computer has been on
  160. %timesecs-frmstartup%   how long computer has been on w/ secs
  161. %directory%                       lists all files in your plans directory
  162.  
  163. Make sure you use the % on both sides of the variable. If you want to actually display a %, simply put %%. The variables can be inserted anywhere in any one of your plan files.
  164.  
  165. Note: NotifyMail is incompatible with Fingerd by Peter N. Lewis. Sorry about this, but using both would probably confuse both programs since they serve similar functions. If for some reason you don't want to use this finger method, consult the full documentation for instructions on modifying NotifyMail. The information is located under problems dealing with a finger server.
  166.  
  167. Registration and Distribution    
  168. NotifyMail is distributed as shareware. You are allowed 3 weeks to try NotifyMail and the companion Configure NotifyMail. If you choose to use these programs after that time, you must register NotifyMail. NotifyMail may be distributed by any electronic means as long as this file, the NotifyMail extension, and the Configure NotifyMail program are in the archive. If you would like to place NotifyMail on CD-ROM or sell it on a disk, you must get prior permission from the author. (This isn‚Äôt a big deal, I just want to know how my program is being distributed.)
  169.  
  170. Registration Costs: (all figures are in US funds)
  171. 1-8 users       $15.00/user
  172. 9-16 users     $13.00/user
  173. 17-25 users  $12.00/user
  174.  
  175. each additional user beyond 25 is $9/user
  176.  
  177. For site licensing and additional multi-user discounts, please send email to Scott_Gruby@hmc.edu. (I‚Äôm open to negotiations for site licensing and multi-user discounts.)
  178.  
  179. In order to register, send a check or money order (in US funds) payable to Scott Gruby to:
  180. Scott Gruby
  181. Platt Campus Center
  182. Harvey Mudd College
  183. Claremont, CA 91711 USA
  184.  
  185. From May 10 to August 31, 1994 please send checks to:
  186. Scott Gruby
  187. 5383 Chelsea Street #101
  188. La Jolla, CA 92037-7959 USA
  189. (Also note, email to me may be delayed during this period.)
  190.  
  191. ------------------- cut here ---------------------
  192. Registration Form
  193.  
  194. Name:
  195.  
  196. Street Address:
  197.  
  198. City, State, ZIP, Country:
  199.  
  200. Phone number where you use NotifyMail:
  201.  
  202. Email address:
  203.  (without this, I can‚Äôt send you the registration code)
  204.  
  205. Type of Macintosh:
  206.  
  207. What system version you are running (including Tune Up, Hardware update, etc.):
  208.  
  209. Version of NotifyMail you are using:
  210.  
  211. Where you obtained NotifyMail (be as specific as possible):
  212. ------------------- cut here ---------------------
  213.  
  214. If you feel that you deserve a registration (at a reduced cost), please contact me, and we can negotiate. I will accept other software or hardware in exchange for registration, if you contact me ahead of time.
  215.  
  216. After I receive your check, I will send you a registration name and code that you will enter into the Registration Box in Configure NotifyMail. You no longer will receive a periodic message to register. Also, when people finger you, they won‚Äôt see that you are using an unregistered copy. Please keep this registration code as you will need it for future upgrades.
  217.  
  218. About the Author    
  219. I am currently a junior at Harvey Mudd College pursuing a BS in engineering. After graduation, I plan to attend graduate school with an emphasis on computer engineering. I have been programming since 1984 when I first learned BASIC on an Apple //e. I have been doing Macintosh programming for the last 4 years mainly in Pascal, but recently started using C and C++. My future programming endeavors will probably be programs that are directly useful to me that other people may find useful.
  220.  
  221. Besides programming, my hobbies include cycling and first aid. Let‚Äôs take the first one: I am on the Claremont Colleges Cycling Team and do about a significant amount of cycling during the season (this is getting expensive, so send in your shareware fees!). My other hobby, first aid. I am not sure if you can really call this a hobby, but I have always wanted to help people and by learning first aid and having become an Emergency Medical Technician (EMT 1-A), I feel that I can help people. I am also an American Red Cross instructor for various first aid courses, another way that I can help people.
  222.  
  223. Sending in your shareware fees will help me support my hobbies and put me through school. I would like to upgrade from my old Mac SE/30 sometime in the near future, but until I get some money, I will stick with this machine. (I hope that I have shamed you into sending in your shareware fee!)
  224.  
  225. Warranty    
  226. There is absolutely NO warranty, guarantee, hint, suggestion or anything else that NotifyMail will work in all situations. NotifyMail has been working fine on my SE/30 running under System 7.1, and has been tested on various other machines. I will do my best to help you get this program running on your machine, but I make no promises. Support for this product is available by email only to Scott_Gruby@hmc.edu.
  227.  
  228. Fine Print    
  229. Scott Gruby hereby disclaims all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose.  Does any one really read this stuff? Scott Gruby will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if Scott Gruby or his agent has been advised of the possibility of such damages.  In no event shall Scott Gruby be liable for any damages, regardless of the form of the claim.  The person using the software bears all risk as to the quality and performance of the software.